#pragma once

#include "WindowEnums.h"
#include "WindowMacros.h"
#include "WindowIncludes.h"

//Window Framework
class WindowAppFramework
{
public:
	//attributes & members
	HWND		m_hWnd;
	WNDCLASSEX	m_wClass;
	DWORD		m_windowMode;
	int			m_windowColor;
	int			m_windowCoordX;
	int			m_windowCoordY;
	float		m_windowWidth;
	float		m_windowHeight;
	float		m_screenWidth;
	float		m_screenHeight;
	bool		m_windowed;

	//ctor & dtor
	WindowAppFramework();
	~WindowAppFramework();

	//initiates and displays the windows
	void init(
		char*	      a_windowName,
		int		      a_windowColor,
		float	      a_windowWidth,
		float	      a_windowHeight,
		bool	      a_windowed,
		WindowHandle* a_windowHandler);

	//handles windows messages
	bool hMsg();
};